include ../../build/config.mk
DBS_DIR=$(INSTALL_DIR)/dbs
DBS_BIN_DIR=$(DBS_DIR)/bin


all:
	
install:	
	cp sysmonitor.sh $(DBS_BIN_DIR)/sysmonitor.sh  -f 
	chmod +x $(DBS_BIN_DIR)/sysmonitor.sh

	sed  "s?INSTALL_DIR?$(INSTALL_DIR)?g" logzip.sh > tmp.sh
	cp tmp.sh $(DBS_BIN_DIR)/logzip.sh -f
	rm tmp.sh -fr
	chmod +x $(DBS_BIN_DIR)/logzip.sh

	sed  "s?INSTALL_DIR?$(INSTALL_DIR)?g" dbs.sh > tmp.sh
	cp tmp.sh $(DBS_BIN_DIR)/dbs.sh -f
	rm tmp.sh -fr
	chmod +x $(DBS_BIN_DIR)/dbs.sh


	cp ftok.sh $(DBS_BIN_DIR)/ -f
	chmod +x $(DBS_BIN_DIR)/ftok.sh
	cp sysmonitor.sh $(DBS_BIN_DIR)/ -f
	chmod +x $(DBS_BIN_DIR)/sysmonitor.sh
clean:

